<%--
  Created by IntelliJ IDEA.
  User: dzh
  Date: 2021/5/23
  Time: 21:02
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>Scope1</title>
</head>
<body>
<h1>Scope2页面</h1>
<%="this is scope2"%><br/>

<%="pageContext域中存的值为"+pageContext.getAttribute("pageContext1")%><br/>
<%="request域中存的值为"+request.getAttribute("request1")%><br/>
<%="session域中存的值为"+session.getAttribute("session1")%><br/>
<%="application域中存的值为"+application.getAttribute("application1")%><br/>
</body>
</html>
